#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
    char *name = malloc(20);
    fgets(name, 20, stdin);
    printf("Hello %s\n", name);
    fputs("Hello\n", stdout);
    fputs("Hello\n", stderr);
    free(name);
    return 0;
}